using B.S.ProcessEgine.API.Dtos.ResponseDto;
using B.S.ProcessEgine.ErrorCode;
using MediatR;
using System.Collections.Generic;

namespace B.S.ProcessEgine.API.Applocations.Commands.FormNodes
{
    public class SaveFormNodesCommand : IRequest<ApiResult>
    {
        /// <summary>
        /// 表单ID
        /// </summary>
        public int FormId { get; set; }

        /// <summary>
        /// 要保存的表单节点列表
        /// </summary>
        public List<FormNodeInputDto> Nodes { get; set; } = new List<FormNodeInputDto>();
    }
}